home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / Chip Temmuz 2004.iso / program / antispam / RazorAgent_SDK / razor-agents-sdk-2.03.exe / Digest-Nilsimsa-0.06 / Nilsimsa.pm < prev    next >
Encoding:
Perl POD Document  |  2002-06-13  |  878 b   |  54 lines

  1. package Digest::Nilsimsa;
  2.  
  3. require DynaLoader;
  4.  
  5. $VERSION = 0.06;
  6. @ISA = qw/DynaLoader/;
  7.  
  8. bootstrap Digest::Nilsimsa $VERSION;
  9.  
  10. =head1 NAME
  11.  
  12. Digest::Nilsimsa - Perl version of Nilsimsa code
  13.  
  14. =head1 SYNOPSIS
  15.  
  16.  use Digest::Nilsimsa;
  17.  
  18.  my $nilsimsa = Digest::Nilsimsa;
  19.  
  20.  my $digest = $nilsimsa->text2digest($text);
  21.  
  22.  
  23. =head1 DESCRIPTION
  24.  
  25. A nilsimsa signature is a statistic of n-gram occurance in a piece of
  26. text. It is a 256 bit value usually represented in hex. This module is a
  27. wrapper around nilsimsa implementation in C by cmeclax.
  28.  
  29. =head1 METHODS
  30.  
  31. =over 4
  32.  
  33. =cut
  34.  
  35. =item $nilsimsa->text2digest($text);
  36.  
  37. Pass in any text, any size, and get back a digest string composed 64
  38. hex chars.
  39.  
  40. =back
  41.  
  42. =head1 SEE ALSO
  43.  
  44. http://ixazon.dynip.com/~cmeclax/nilsimsa.html
  45.  
  46. =head1 AUTHOR
  47.  
  48. Chad Norwood <chad@455scott.com>, cmeclax 
  49.  
  50. =cut
  51.  
  52. 1;
  53.  
  54.